<?php 

/**
 Template Name: category
 */

get_header(); 

?>
<style type="text/css">
	.whole_list{
		list-style: none;
	}
	.whole_list li{
		margin:1rem 0;
	}
</style>
<div class="category-header">
	<h1 class="title">
		<img src="<?php bloginfo('template_url'); ?>/images/postload.gif">
		分类目录
	</h1>
</div>	
<div class="category-content">
	<?php
$args=array(
'orderby' => 'ID',
'order' => 'ASC',
'orderby'=> 'name',
'show_count'   => $c,
'hierarchical' => $h,
'title_li'=>'',
'exclude' => '1,2'
);
$categorie=get_categories($args);
?>
<?php foreach ($categorie as $cat) : ?>
<li>
	<img src="<?php bloginfo('template_url'); ?>/images/postload.gif">
	<a href="<?php echo get_category_link($cat->term_id); ?>"><?php echo $cat->cat_name; ?></a>
</li>
<?php endforeach; ?>

</div>
<?php get_footer(); ?>


